package tsb.dominio.interfaces;
/**
 * @author Federico Gomez
 * @version 1.0
 * @created 12-Mar-2011 05:53:35 p.m.
 */
public abstract class Gigabit extends InterfaceDeConeccion {

	/**
	 * true=duplex false=half-Duplex
	 */
	protected boolean duplex;
        protected MAC mac;


    public boolean isDuplex() {
        return duplex;
    }

    public void setDuplex(boolean duplex) {
        this.duplex = duplex;
    }

    public MAC getMac() {
        return mac;
    }

    public void setMac(MAC mac) {
        this.mac = mac;
    }
    
    public String toString()
    {
        String cad=super.toString()+
                "Duplex= "+duplex+"\n"+
                "MAC= "+mac+"\n";
        
        return cad;
    }

}